package cn.yunhe.pagemybatisplus.mapper;

import cn.yunhe.pagemybatisplus.eneity.User;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface UserMapper extends BaseMapper<User> {
@Select("select * from users")
List<User> getList();

}
